package com.bicon.base.data.pojo.botu;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("t_rule")
public class TRule extends Model<TRule> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 规则英文名称
     */
    private String enname;
    /**
     * 规则中文名称
     */
    private String chname;
    /**
     * 规则内容
     */
    private String contents;
    /**
     * 规则创建时间
     */
    private String ruledate;
    private String ruletime;
    /**
     * 1 正常使用，2停止
     */
    private String satte;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEnname() {
        return enname;
    }

    public void setEnname(String enname) {
        this.enname = enname;
    }

    public String getChname() {
        return chname;
    }

    public void setChname(String chname) {
        this.chname = chname;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public String getRuledate() {
        return ruledate;
    }

    public void setRuledate(String ruledate) {
        this.ruledate = ruledate;
    }

    public String getRuletime() {
        return ruletime;
    }

    public void setRuletime(String ruletime) {
        this.ruletime = ruletime;
    }

    public String getSatte() {
        return satte;
    }

    public void setSatte(String satte) {
        this.satte = satte;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TRule{" +
        "id=" + id +
        ", enname=" + enname +
        ", chname=" + chname +
        ", contents=" + contents +
        ", ruledate=" + ruledate +
        ", ruletime=" + ruletime +
        ", satte=" + satte +
        "}";
    }
}
